#ifndef COURIER_ADD_H
#define COURIER_ADD_H

#include <QWidget>
#include <QMessageBox>
#include <socketmanager.h>
#include <QTcpSocket>
namespace Ui {
class Courier_add;
}

class Courier_add : public QWidget
{
    Q_OBJECT

public:
    explicit Courier_add(QWidget *parent = nullptr);
    ~Courier_add();
signals:
    void addtomain();
private slots:
    void on_pushButton_clicked();
    void recv_add();
    void on_pushButton_2_clicked();

private:
    Ui::Courier_add *ui;
    QTcpSocket *socket;
};

#endif // COURIER_ADD_H
